package com.globallogic.javatraining.liudmyla_shapoval.uni.resources;

import com.globallogic.javatraining.liudmyla_shapoval.uni.evaluation.LessonWeight;

public class Lesson {
	
	private int id;
	private String topic;
	private LessonWeight type;
	private Course course;
	
	public Lesson(int id, String topic, String type) {
		this.topic = topic;
		this.id = course.getId();
		this.type = LessonWeight.getType(type);
	}
	
	public Lesson(int id)	{
		this.id = course.getId();
	}
			
	public String getTopic() {
		return topic;
	}

}
